//
//  ViewController.m
//  内存布局
//
//  Created by 崔博 on 2018/7/27.
//  Copyright © 2018年 崔博. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end
int a = 10;
int b;
@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSString * str1 = @"123";

    
    static int c = 20;
    static int d;
    int e;
    int f = 20;
    NSObject * objec = [NSObject new];
    NSLog(@"a===%p\nb===%p\nc===%p\nd===%p\ne===%p\nf===%p\nstr===%p\nobjc===%p",&a,&b,&c,&d,&e,&f,&str1,&objec);
    
}


@end
